
import 'package:flutter/material.dart';
import 'package:talking/page/Account.dart';
import 'package:talking/page/ForgetPassword.dart';
import 'package:talking/page/Home.dart';
import 'package:talking/page/Loading.dart';
import 'package:talking/page/Login.dart';
import 'package:talking/page/Sign.dart';
import 'package:talking/page/Test.dart';

void main() => runApp(MyApp());
// <uses-permission android:name="android.permission.READ_PHONE_STATE" />
// <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
// <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
// <uses-permission android:name="android.permission.INTERNET"/>

// dependencies:
// flutter:
// sdk: flutter
// cupertino_icons: ^1.0.2
// dio: ^4.0.0
// shared_preferences: 2.0.7

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      initialRoute: "loading",
      routes: {
        "loading": (context) => Loading(),
        "login": (context) => Login(),
        "sign": (context) => Sign(),
        "forgetPassword": (context) => ForgetPassword(),
        "home": (context) => Home(),
        "account": (context) => Account(),
        "test": (context) => Test(),
      },
    );
  }
}
